<?php

namespace app\shop\model\company;

use think\Model;
use app\shop\model\user\User;
use think\model\concern\SoftDelete;
/**
 * 应用模型
 */
class ExamineLog extends Model
{
    use SoftDelete;
    protected $autoWriteTimestamp = true;

    const STATUS_ON = 0;    //进行中
    const STATUS_FINISH = 1;    //已完成
    const STATUS_TIMEOUT = 2;    //已超时

    public function managerUser()
    {
        return $this->belongsTo(User::class, 'manager', 'user_id');
    }
}
